package day02;

import java.util.Scanner;

public class ScannerDemo {
    public static void main(String[] args) {
        System.out.println("请输入你的年龄：");
        Scanner scan  = new Scanner(System.in);
        int age = scan.nextInt();
        System.out.println("age = " + age);
        System.out.println("========================");
        System.out.println("请输入你的姓名：");
        String name = scan.next();
        System.out.println("name = " + name);


    }
}
